package fr.vvins.core.biz.user;

import fr.vvins.core.biz.exception.BizException;

public class UserException extends BizException {
	
	private static final long serialVersionUID = 2483631730571666551L;

	private final static String PREFIX = "USR-";
	
	public final static String NOT_FOUND = PREFIX + 1;
	
	public final static String TOKEN_FORMAT_ERROR = PREFIX + 2;

	public final static String TOKEN_EMPTY = PREFIX + 2;
	
	public static final String USER_DTO_EMPTY = PREFIX + 3;
	
	public static final String CREDENTIAL_EMPTY = PREFIX + 4;

	public static final String BAD_PASS = PREFIX + 5;

	public static final String LOG_EMPTY = PREFIX + 6;

	public static final String ENTITY_EMPTY = PREFIX + 7;

	public static final String ENTITY_ID_EMPTY = PREFIX + 8;

	public static final String USER_ID_EMPTY = PREFIX + 9;

	public static final String CONTACT_EMPTY = PREFIX + 10;

	public static final String ENTITY_BAD_TYPE = PREFIX + 11;

	public static final String CREDENTIAL_TYPE = PREFIX + 12;
	
	public UserException(String code, String message) {
		super(code, message);
	}



}
